package com.utooo.dao.purchase;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.utooo.pojo.domain.purchase.contract.PurchaseContractDO;
import com.utooo.pojo.vo.purchase.contract.PurchaseContractVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PurchaseContractMapper extends BaseMapper<PurchaseContractDO> {
    List<PurchaseContractVO> getRelatedContracts(@Param("supplierId") String supplierId,
                                                 @Param("companyId") String companyId);
}